package com.back.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author liyang
 * @since 2025-04-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("job")
public class Job implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 职位标题
     */
    private String title;

    /**
     * 所属公司ID
     */
    private Long companyId;

    /**
     * 发布招聘者ID
     */
    private Long recruiterId;

    /**
     * 职位类别
     */
    private String category;

    /**
     * 工作地点
     */
    private String location;

    /**
     * 薪资范围
     */
    private String salary;

    /**
     * 学历要求
     */
    private String education;

    /**
     * 经验要求
     */
    private String experience;

    /**
     * 职位描述
     */
    private String description;

    /**
     * 工作职责
     */
    private String responsibilities;

    /**
     * 技能要求
     */
    private String skills;

    /**
     * 福利待遇
     */
    private String benefits;

    /**
     * 职位状态：pending-待审核，active-招聘中，closed-已关闭，rejected-已拒绝
     */
    private String status;

    /**
     * 浏览次数
     */
    private Integer views;

    /**
     * 申请次数
     */
    private Integer applications;

    /**
     * 创建时间
     */
    private Long createTime;

    /**
     * 更新时间
     */
    private Long updateTime;

    /**
     * 是否删除
     */
    private Boolean deleted;


}
